package com.huan.study.task.jobs;

import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController("/test")
@RequestMapping("/test")
@Profile({"test"})
public class TestController {

    @GetMapping("/test")
    public String test(){
        return "test";
    }
}
